package com.hhxyjsj.proxy;

import java.lang.reflect.Proxy;

public class ProxyTest {

	public static void main(String[] args) {
		IHouse iHouse = (IHouse) Proxy.newProxyInstance(ProxyTest.class.getClassLoader(), new Class[]{IHouse.class}, new HouseProxy(new House()));
		iHouse.find();
	}

}
